﻿namespace SampleApp.Tests.Pages {
    using Microsoft.Services.TestTools.UITesting.Html;

    public class ProductDetails : Page {
        
        public bool ContainsProductName(string name) {
            return Browser.Find("main").GetInnerText().Contains(name.Trim());
        }
    }
}